<%@ page session="false" contentType="text/html;charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://myfaces.apache.org/trinidad/html" prefix="trh"%>
<!--
/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
//-->

<f:view>
  <t:document>
    <t:documentHead>
      <t:htmlTag value="title">
        <h:outputText value="t:outputText" />
      </t:htmlTag>
      <trh:styleSheet/>
    </t:documentHead>
    <t:documentBody>
      <h:outputText value="t:outputText" />

      <h:outputText value=" | " />
      <t:outputText id="lang" lang="en" value="English" />
      <h:outputText value=" | " />
      <t:outputText id="dirLtr" dir="ltr" value="dir ltr" />
      <h:outputText value=" | " />
      <t:outputText id="dirRtl" dir="rtl" value="dir rtl" />
      <h:outputText value=" | " />
      <t:outputText id="click" onclick="alert('You Clicked');"
        value="Click" />
      <h:outputText value=" | " />
      <t:outputText id="dblclick"
        ondblclick="alert('You Double Clicked');" value="Double Click" />
      <h:outputText value=" | " />
      <t:outputText id="mouseDown"
        onmousedown="alert('You Mouse Downed');" value="Mouse Down" />
      <h:outputText value=" | " />
      <t:outputText id="mouseUp" onmouseup="alert('You Mouse Uped');"
        value="Mouse Up" />
      <h:outputText value=" | " />
      <t:outputText id="mouseOver"
        onmouseover="alert('Your Mouse Overed');" value="Mouse Overed" />
      <h:outputText value=" | " />
      <t:outputText id="mouseMove"
        onmousemove="alert('Your Mouse Moved');" value="Mouse Move" />
      <h:outputText value=" | " />
      <t:outputText id="mouseOut"
        onmouseout="alert('Your Mouse Moved Out');" value="Mouse Out" />
      <h:outputText value=" | " />
      <t:outputText id="keyPress" onkeypress="alert('You Key Pressed');"
        value="Key Press" />
      <h:outputText value=" | " />
      <t:outputText id="keyDown" onkeydown="alert('You Key Downed');"
        value="Key Down" />
      <h:outputText value=" | " />
      <t:outputText id="keyUp" onkeyup="alert('You Key Uped');"
        value="Key Up" />
      <h:outputText value=" | " />
      <t:outputText id="unProtectedValue" value="unprotected" />
      <h:outputText value=" | " />
      <t:outputText id="enableProtected" enabledOnUserRole="role1"
        value="Protected by enable" />
      <h:outputText value=" | " />
      <t:outputText id="visableProtected" visibleOnUserRole="role1"
        value="Protected by visable" />
      <h:outputText value=" | " />
      <t:outputText id="visibleProtectedAndRendered"
        visibleOnUserRole="role1" rendered="true"
        value="Protected by visible and rendered" />

      <h:form id="footerLinks">
        <h:commandLink id="homeLink" action="home" value="Home" />
        <h:outputText value=" " />
        <h:outputLink id="sourceLink" target="sourceWindow"
          value="#{facesContext.externalContext.requestContextPath}#{view.viewId}.source">
          <h:outputText value="View source in popup window" />
        </h:outputLink>
      </h:form>
    </t:documentBody>
  </t:document>
</f:view>
